const state = {
  token: "",
};

const mutations = {
  SET_TOKEN: (state, data) => {
    state.token = data;
  },
};

const actions = {
  setToken({ commit }, log) {
    commit("SET_TOKEN", log);
  },
};

export default {
  namespaced: true,
  state,
  mutations,
  actions,
};
